/*
 * @Author: scl
 * @Date: 2023-07-06 10:16:56
 * @LastEditTime: 2023-07-06 21:16:53
 * @Description: file content
 */
import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import route from './router'
import pinia from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// @ts-expect-error
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
//暗黑模式需要的样式
import 'element-plus/theme-chalk/dark/css-vars.css'
import '@/styles/index.scss'
const app=createApp(App)
app.use(ElementPlus, {
    locale: zhCn, //element-plus国际化配置
  })
app.use(ElementPlus)
app.use(pinia)
app.use(route)
app.mount('#app')